﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.Models.Crm
{
    /// <summary>
    /// 客户基本信息表
    /// </summary>
    [SugarTable("oms_crm_customer")]
    public class CustomerDao:BaseDao
    {
        /// <summary>
        /// 仓库id
        /// </summary>
        public long wh_id { get; set; }
        /// <summary>
        /// 机构id
        /// </summary>
        public long unit_id { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string codes { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string codec { get; set; }
        /// <summary>
        /// 客户简称
        /// </summary>
        public string names { get; set; }
        /// <summary>
        /// 客户全称
        /// </summary>
        public string namec { get; set; }
        /// <summary>
        /// 固话
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 电邮
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 省市
        /// </summary>
        public long prov_id { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public long city_id { get; set; }
        /// <summary>
        /// 区县
        /// </summary>
        public long area_id { get; set; }
        /// <summary>
        /// 乡镇
        /// </summary>
        public long town_id { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string street { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string postcode { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string contact { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string cellphone { get; set; }

        /// <summary>
        /// 菜系
        /// </summary>
        public int cooking_style { get; set; }

        /// <summary>
        /// 开发人员
        /// </summary>
        public long dev_user { get; set; }
        /// <summary>
        /// 维护人员
        /// </summary>
        public long mgr_user { get; set; }

        /// <summary>
        /// 商务状态
        /// </summary>
        public int business_status { get; set; }
        /// <summary>
        /// 商务级别
        /// </summary>
        public int business_level { get; set; }
        /// <summary>
        /// 供货时间
        /// </summary>
        public string expand_time { get; set; }
        /// <summary>
        /// 连锁店是否统一价
        /// </summary>
        public int is_one_price { get; set; }
        public string remark { get; set; }
        /// <summary>
        /// 资质审核状态
        /// </summary>
        public int audit_status { get; set; }
    }
}
